import * as cc from 'cc';
import { Emitter } from "../../../event/EventKit";

let emitter = new Emitter();

/**@description 虚拟摇杆监听事件 */
export namespace JoystickEvent {
    export const ON_JOYSTICK_START = emitter.createEvent<() => void>();
    export const ON_JOYSTICK_MOVE = emitter.createEvent<(dir: cc.Vec2,angle:number,isInnerCircle:boolean) => void>();
    export const ON_JOYSTICK_END = emitter.createEvent<() => void>();
}
